<div class="wrap_search">
	<form action="index.php?c=info_supplier&m=show&post=1" method=post name=frm>
	<fieldset>
		<legend>供应商查询</legend>
		<label>供应商</label><input type=text name="supplier_name" value='{%$supplier_name%}'>
		<input type="submit" value="查询" class="btn">
	</fieldset>
	</form>
</div>
<div class="empty_div"></div>
<table class="show_list">
	<tr class="show_title">
				<td class="cursorclick" onclick="location.href='?c=info_supplier&ord=supplier_name&co={%$co%}&myp={%$curPage%}' ">供应商名称</td>
				<td>办公地址</td>
				<td>联系电话</td>
				<td>传真</td>
				<td>邮政编码</td>
				<!--
				<td>网址</td>
				<td>官方微博</td>
				<td>备注</td>				
				<td>管理部门树</td>
				-->
				<td>更新人</td>
				<td>更新日期</td>
				<td>员工ID</td>
				<td>操作</td>
	</tr>
	{%foreach from=$arr item=arr_item%}
	<tr class="{%cycle values="show_line_1,show_line_2"%}">
				<td>{%$arr_item.supplier_name%}</td>
				<td>{%$arr_item.supplier_address%}</td>
				<td>{%$arr_item.supplier_tel%}</td>
				<td>{%$arr_item.supplier_fox%}</td>
				<td>{%$arr_item.supplier_zip%}</td>
				<!--
				<td>{%$arr_item.supplier_url%}</td>
				<td>{%$arr_item.supplier_weibo%}</td>
				<td>{%$arr_item.supplier_info%}</td>				
				<td>{%$arr_item.supplier_department_tree%}</td>
				-->
				<td>{%get_user_info user_id=$arr_item.laster%}</td>
				<td>{%$arr_item.update_time|date_format:"%Y-%m-%d"%}</td>
				<td>{%get_user_info user_id=$arr_item.admin_user_id%}</td>
				<td>
		<a href='index.php?c=info_supplier&m=edit&is_show=1&supplier_id={%$arr_item.supplier_id%}'>查看</a>&nbsp;
		<a href='index.php?c=info_supplier&m=edit&supplier_id={%$arr_item.supplier_id%}'>修改</a>&nbsp;
		<a href='index.php?c=info_supplier&m=del&supplier_id={%$arr_item.supplier_id%}' onclick="return confirm('您确认删除吗?')">删除</a>&nbsp;
		<a href='index.php?c=info_supplier_person&m=add&supplier_id={%$arr_item.supplier_id%}'>添加负责人</a>
		<a href='index.php?c=info_supplier_person&supplier_id={%$arr_item.supplier_id%}'>查看负责人</a>
		</td>
	</tr>
	{%/foreach%}
</table>
<div class="page_bar">
{%$page_footer%}
</div> 